ContextCapture User Guide

Hosting on Amazon S3 (cloud front)

Create a dedicated bucket for webGL, because the bucket needs to have special read/access rights. Make sure that the bucket name is in lowercase if you want to deploy it to the CloudFront.

  • Go to bucket Permissions > Edit bucket settings and make the bucket public.
  • Change the Bucket policy, written in JSON, as follows (making sure the Resource has the correct Bucket ARN):
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Sid": "AllowPublicRead",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "*"
                },
                "Action": "s3:GetObject",
                "Resource": "YOUR_Bucket_ARN/*"
            }
        ]
    }
    
    Any data in this bucket will be public. If the App folder was loaded together with the Scene, using the URL visible when navigating to the App/index.html file should work: